package com.yuancheng.modules.msweb.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuancheng.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.ExcelVerify;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 设备
 * @author： yuancheng
 * @date：   2020-01-08
 * @version： V1.0
 */
@Data
@TableName("device_info")
public class DeviceInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**设备id*/
	@TableId(type = IdType.AUTO)
	private java.lang.Integer id;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
	private java.lang.String devnum;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
	private java.lang.String devname;
	/**在线状态：1在线2离线*/
	@Dict(dicCode = "online_state")
	private java.lang.String onlinestate;
	/**添加时间*/
	private java.lang.String addTime;

	/**创建人*/
	private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
	private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
}
